package Thread.New.等待与唤醒;

public class Test {
    public static void main(String[] args) {
        BaoZi bz = new BaoZi();
        bz.flag = false;
        BaoZiPu pu = new BaoZiPu(bz);
        ChiHuo ch = new ChiHuo(bz);
        pu.start();
        ch.start();

    }
}
